package com.lwphk.easydocs.ui.vo;

import java.util.LinkedList;
import java.util.List;

import com.lwphk.easydocs.core.vo.ControllerInfo;
import com.lwphk.easydocs.core.vo.MethodInfo;

public class DocsUITreeData {

	
	
	private String title;
	
	
	
	private List<DocsUITreeData> children = new LinkedList<DocsUITreeData>();
	
	
	
	
	private MethodInfo methodInfo;
	
	
	
	
	public MethodInfo getMethodInfo() {
		return methodInfo;
	}



	public void setMethodInfo(MethodInfo methodInfo) {
		this.methodInfo = methodInfo;
	}




	public Boolean getIsApi() {
		if(this.methodInfo == null) return false;
		return true;
	}



	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public List<DocsUITreeData> getChildren() {
		return children;
	}


	public void setChildren(List<DocsUITreeData> children) {
		this.children = children;
	}



	
}
